*{
    margin: 0;
    padding: 0;
}
html {
    height: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    margin: 0;
    color: rgba(0, 0, 0, .85);
    font-size: 14px;
    font-family: "MiSans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-variant: tabular-nums;
    line-height: 1.5715;
    background-color: #fff;
    font-feature-settings: "tnum", "tnum";
    height: 100%;
}
#root {
    height: 100%;
    display: flex;
}
.root-left {
    width: 400px;
    height: 100%;
    background-size: cover;
    background-position: 50%;
    background-image: url("https://cdn.web-global.fds.api.mi-img.com/mcfe--mi-account/static/static/media/banner.5b1efcd8.jpg");
}

.root-right {
    flex: 1;
    height: 100%;
}

@media all and (max-width:800px) {
    .root-left {
        display: none;
    }
}

.root-right .header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.root-right .header .left {
    height: 60;
    width: 250px;
    line-height: 40px;
    font-size: 26px;
    font-weight: 500;
    color: #333;
}

.root-right .header .left img {
    height: 50px;
    width: 50px;
    vertical-align: middle;
    margin-right: 10px;
}
.root-right .header .right {
    height: 50px;
    width: 355px;
    line-height: 50px;
    display: flex;
    justify-content: space-around;
    font-size: 14px;
    font-weight: 400;
    color: #838383;
}
.root-right .main{
    padding-top: 20px;
    width: 100%;
  
}
.root-right .main .section{
    margin: 0 auto;
    height: 488px;
    width: 360px;
    padding: 40px 45px;
    box-shadow: 0 6px 12px 0 rgb(138 153 150 / 15%);
    position: relative;
    overflow: hidden;
}
.root-right .main .top{
   height:40px ;
   width: 100px;
   display: flex;
   line-height: 40px;
   justify-content: space-between;
}
.root-right .main .top span{
    font-size: 20px;
    display: inline-block;
    cursor: pointer;
    color: gray;
}
.root-right .main .top .active{
    border-bottom: 4px solid red;
    color:black
} 
.root-right .main form{
    box-sizing: border-box;
    width: 360px;
    height: 350px;
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
.root-right .main form .tbx{
    height: 60px;
    outline: none;
    background-color: #F9F9F9;
    border: none;
    width: 340px;
}
.root-right .main form .center {
    outline: none;
    width: 100%;
    height: 60px;
    display: flex;
    border: none;
    justify-content: space-between;
    align-items: center;
}
.formOne .center .code {
    background-color: #F9F9F9;
    outline: none;
    border: none;
    background: none;
    color: black;
    width: 340px;
}
.formTwo .registpsw input{
    background-color: #F9F9F9;
    outline: none;
    border: none;
    background: none;
    color: black;
    width: 340px;
    height: 60px;
}
.formTwo .center span {
    outline: none;
    border: none;
    background: none;
    color: black;
    font-size: 16px;
    padding-left: 10px;
    width: 40%;
    cursor: pointer;
}
form .sub{
    width: 355px;
    height: 60px;
    outline: none;
    border: none;
    border-radius: 20px;
    letter-spacing: 5px;
    color: black;
    background: none;
    cursor: pointer;
    background-color: #FF6900;
    opacity: 0.5;
}
.formOne .sure span{
    color:gray;
}
.formTwo .center .code{
    outline: none;
    border: none;
    background: none;
    color: black;
    font-size: 15px;
    width: 100%;
}
.formOne{
    position: absolute;
    top:60px;
    right: 45px;
    transition: 0.1s;
 }
.formTwo{
   position: absolute;
   top: 60px;
   right: -360px;
   transition: 0.5s;
}
.main .bottom{
    display: flex;
    flex-direction: column;
    position: absolute;
    top:420px;
    left: 40px;

}
.main .bottom a{
    display: block;
    width:355px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    font-size: 17px;
    font-weight: 400;
    color: #aaa;
}
.main .bottom .icon{
    width: 355px;
    height: 52px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.main .bottom .icon-zhifubao{
    font-size: 50px;
    color: #1989FA;
}
.main .bottom .icon-weixin{
    font-size: 50px;
    color: #50B674;
}
.main .bottom .icon-QQ-circle-fill{
    font-size: 52px;
    color: #18ACFC;
}
.main .bottom .icon-weibo{
    font-size: 50px;
    color: #EA5D5C;
}